/*
 * Constants.java
 * 
 * Holds constants used throughout application
 * 
 */

/*
 * Copyright (c) 2011 by Ryan Nikolaidis
 * All rights reserved.
 *
 */
public class Constants {

	public static final int ionian = 0;
	public static final int dorian = 1;
	public static final int phrygian = 2;
	public static final int lydian = 3;
	public static final int mixolydian = 4;
	public static final int aeolian = 5;
	public static final int locrian = 6;
	public static final Integer aug = 273;
	public static final Integer dim = 73;
	public static final Integer dom7 = 1169;
	public static final Integer hdim7 = 1097;
	public static final Integer m7 = 1161;
	public static final Integer Maj7 = 2193;
	public static final Integer Maj9 = 17553;
	public static final Integer m7b5 = 1097;
	public static final Integer alt = 9297;
	public static final Integer m = 137;
	public static final Integer m_fi = 4232;
	public static final Integer m_si = 36992;
	public static final Integer Maj = 145;
	public static final Integer six = 657;
	public static final Integer dom7s9 = 33937;
	public static final Integer dom7b9 = 9361;
	public static final Integer dom79s11 = 541841;
	public static final Integer sus13 = 2114721;
	public static final Integer dom13b9 = 2106513;
	public static final Integer dom13 = 2098321;	
	public static final int[][] chordParallels = {
		{9,4},
		{9},
		{5},
		{11,9,8,7},
		{0,9},
		{2},
		{2,5},
		{11},
		{0,5},
		{0,3},
		{7},
		{7},
	};
	public static final int[][] chordMinorParallels = {
		{8,3},
		{5},
		{5,0},
		{0,10,9},
		{7},
		{2},
		{0},
		{10,3},
		{0,3},
		{5,3},
		{7},
		{7},
	};
	public static final int[][] blue_trane_learning = {
			{ 7, 0, 2, 7, 0, 5, 0, 0, 5, 5, 0, 0, 2, 7, 0, 2, 7, 0, 5, 0, 0, 5,
					5, 0, 0, 2, 7, 0, 2, 7, 0, 5, 0, 0, 5, 5, 0, 0, 2, 7, 0, 2,
					7, 0, 5, 0, 0, 5, 5, 0, 0, 2, 7, 0, 2, 7, 0, 5, 0, 0, 5, 5,
					0, 0, 2, 7, 0, 2, 7, 0, 5, 0, 0, 5, 5, 0, 0, 2, 7, 0, 2, 7,
					0, 5, 0, 0, 5, 5, 0, 0, 2, 7, 0, 2, 7, 7 },
			{ 1169, 1169, 137, 1169, 1169, 137, 1169, 1169, 1169, 1169, 1169,
					1169, 1169, 1169, 1169, 137, 1169, 1169, 137, 1169, 1169,
					1169, 1169, 1169, 1169, 1169, 1169, 1169, 137, 1169, 1169,
					137, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169,
					137, 1169, 1169, 137, 1169, 1169, 1169, 1169, 1169, 1169,
					1169, 1169, 1169, 137, 1169, 1169, 137, 1169, 1169, 1169,
					1169, 1169, 1169, 137, 1169, 1169, 137, 1169, 1169, 1169,
					1169, 1169, 1169, 1169, 1169, 1169, 137, 1169, 1169, 137,
					1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 1169, 137,
					1169, 1169, 137, 1169, 1169 },
			{ 192, 192, 96, 96, 192, 192, 192, 192, 192, 192, 192, 192, 192,
					192, 192, 96, 96, 192, 192, 192, 192, 192, 192, 192, 192,
					192, 192, 192, 96, 96, 192, 192, 192, 192, 192, 192, 192,
					192, 192, 192, 192, 96, 96, 192, 192, 192, 192, 192, 192,
					192, 192, 192, 192, 192, 96, 96, 192, 192, 192, 192, 192,
					192, 192, 192, 192, 192, 192, 96, 96, 192, 192, 192, 192,
					192, 192, 192, 192, 192, 192, 192, 96, 96, 192, 192, 192,
					192, 192, 192, 192, 192, 192, 192, 192, 96, 96, 192, }, };

	public static final int[][] wblines = {
			{ 0,0,4,7,4,0,7,12,7, 12, 7, 14, 13, 12, 7, 10, 11, 12, 13,
					14, 11, },
			{ 1, 0, 4, 7, 4, 0, 4, 7, 0, 12, 7, 10, 12, 0, 4, 7, 9, 0, 4, 3, 2 },
			{ 2, 12, 7, 4, 3, 0, 4, 0, 1, 0, 6, 7, 0, 0, 2, 4, 0, },
			{ 3, 0, 0, 1, 2, 12, 7, 5, 4, 12, 7, 5, 4 },
			{ 4, 12, 7, 6, 5, 0, 1, 2, 3, 0, 7, 6, 5, 12, 7, 6, 5 },
			{ 5, 0, 2, 3, 4, 0, 0, 7, 6, 0, 12, 7, 6, 12, 4, 7, 6, 0, 4, 7, 6,
					0, 5, 7, 6, 12, 13, 12, 6, 0, 10, 8, 7, 12, 4, 7, 6, 0, 1,
					4, 7, 0, 2, 3, 4, 0, 4, 7, 6, 12, 10, 9, 7, 0, 7, 12, 7,
					12, 7, 0, 4, 12, 4, 7, 6, 12, 11, 9, 7 },
			{ 6, 12, 11, 9, 7, 0, 4, 7, 5, 12, 4, 7, 5, 0, 4, 7, 4, 12, 7, 4,
					5, },
			{ 7, 0, 4, 9, 8, 12, 10, 9, 8, 0, 4, 5, 6, 12, 13, 14, 6, 0, 6, 9,
					8, 12, 4, 9, 8, 12, 4, 5, 6, 12, 10, 9, 8, 12, 0, 6, 9, 12,
					6, 9, 8, 0, 2, 4, 5, 12, 11, 10, 9 },
			{ 9, 12, 6, 7, 8, 12, 4, 12, 10, 12, 4, 7, 8, 12, 6, 4, 8, 12, 12,
					7, 8, 12, 4, 7, 8, 0, 4, 7, 8, },
			{ 10, 12, 7, 12, 11, 0, 2, 4, -1, 12, 14, 16, 11, 0, 2, 0, -1, 12,
					14, 12, 11, 0, 7, 12, 0, 0, 2, 4, 0, 12, 14, 12, 11 },
			{ 11, 0, 6, 7, 0, 12, 7, 12, 0, 0, 2, 4, 0, 12, 16, 14, 12, 12, 7,
					9, 10, }, };
	
//	public static final int[][] wblines = {
//		{0,0,4,7,4,12,7,4,7,}, //		{0,0,4,7,4,0,7,12,7,12,7,4,7,12,7,0,7},
//		{1,0,4,7,4,12,7,0,7,}, //		{1,0,4,7,4,0,7,12,7,12,7,4,7,12,7,0,7},
//		{2,12,7,4,3,0,4,0,1},
//		{3,0,7,0,2,12,7,12,0},
//		{4,0,1,2,3,12,7,6,5},
//		{5,0,4,7,4,0,2,3,4,12,11,9,7,12,4,7,4},
//		{6,0,7,4,5,12,7,4,5},
//		{7,0,2,4,5,12,11,9,8},
//		{8,0,4,5,7,12,11,10,9},
//		{9,0,4,7,8,12,4,7,8},
//		{10,0,4,7,9,12,7,8,9},
//		{11,0,4,7,9,12,4,7,12},
//	};

	

	public static final int[][] wblines_half = {
			{ 0, 0, 2, 12, 11, 0, -1, 12, 14 },
			{ 1, 0, -1, 12, 11, 0, 7, 12, 7 }, { 2, 0, 1, 0, 7, 12, 7 },
			{ 2, 0, 1, 12, 3},
			{ 3, 0, 7, 12, 7},
			{ 4, 0, 7, 12, 7},
			{ 5, 0, 4, 12, 6, 0, 7, 0, 4, 12, 4, 0, 6, 12, 4 },
			{ 6, 0, 7, 12, 7},
			{ 7, 0, 4, 12, 4, },
			{ 8, 0, 7, 12, 7},
			{ 9, 12, 10, 12, 6, 0, 8, 12, 10, }, { 11, 0, 7, }, 
			{ 10, 0, 7, 12, 7},
			{ 11, 0, 7, 12, 7},};

	public static final int[][] scales = { { 0, 2, 4, 5, 7, 9, 11, },
			{ 0, 2, 3, 5, 7, 9, 10 }, { 0, 1, 3, 5, 7, 8, 10 },
			{ 0, 2, 4, 6, 7, 9, 11 }, { 0, 2, 4, 5, 7, 9, 10 },
			{ 0, 2, 3, 5, 7, 9, 10 }, { 0, 1, 3, 5, 6, 8, 10 }, };
}
